import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import pages from 'vite-plugin-pages';
import path from "path"
// https://vite.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    pages({
      dirs:'src/pages',
      exclude: ['**/components/*.vue']
    }),
  ],
  resolve: {
    alias: {
      '@': path.resolve(__dirname, 'src'),
    },
  },
})
